<%= use_full_tiny_mce %>

<%= tabs(["Main","Security"]) %>

<div id="main_tab_content" class="tab_content">
	<p>
		<b>Name</b><br />
			<%= page_name_value %>
	</p>
  <% if action_name == "show" %>
    <p>
      <b>Url</b><br />
      <%= page_url_value %>
    </p>
  <% end %>
	<p>
		<b>Folder</b><br />
			<%= page_folder_value %>
	</p>
	<p>
		<span>
			<%= page_is_enabled_value %> <b>Is enabled</b> &nbsp; &brvbar;  &nbsp;   
			<%= page_is_featured_value %> <b>Is featured</b>  &nbsp; &brvbar;  &nbsp;  
			<%= page_show_in_footer_value %> <b>Show in footer</b> 
		</span>
	</p>
	<p>
		<b>Body</b><br />
		<%= page_body_value %>
	</p>
</div>

<div id="security_tab_content" class="tab_content" style="display: none;">
	<h3>Grant access to the following groups.  If no groups are selected, the page is public.</h3>
  <h3><strong>Please note:  The page will inherit the user groups from it's folder.</strong></h3>
	<%= content_security_value @page %>
</div>
